package com.freemalll.merchant.domain.entity.coopManagement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 资方费率配置表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_asset_rate_manage")
@Schema(description = "MerAssetRateManage对象")
public class MerAssetRateManage extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rate_id", type = IdType.ASSIGN_UUID)
    private String rateId;

    @Schema(description = "资方id")
    @TableField("source_id")
    private String sourceId;

    @Schema(description = "模版名称")
    @TableField("template_name")
    private String templateName;

    @Schema(description = "模版编码")
    @TableField("template_code")
    private String templateCode;

    @Schema(description = "启用状态 0禁用 1 启用")
    @TableField("enable_flag")
    private Boolean enableFlag;

    @Schema(description = "息费模式 COMMERCIAL_STICKERS:商贴 GUEST_POST：客贴 INTEREST_PER_MENS：月息 BUSINESS_MONTH：商月")
    @TableField("interest_and_fee_model")
    private String interestAndFeeModel;

    @Schema(description = "息费模式明细 COMMERCIAL_STICKERS:商贴 GUEST_POST：客贴 INTEREST_PER_MENS：月息")
    @TableField("interest_and_fee_detail_model")
    private String interestAndFeeDetailModel;


}
